﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.SituationPloModel
{
    /// <summary>
    /// 情形情节机器学习配置实体
    /// </summary>
    [Serializable]
    [System.Xml.Serialization.XmlRootAttribute("root")]
    public class SituationPlotMLConfigModel
    {
        /// <summary>
        /// 案件类型集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("casetype")]
        public List<SituationPlotMLCaseType> CaseTypes { get; set; }

    }

    /// <summary>
    /// 案件类型
    /// </summary>
    public partial class SituationPlotMLCaseType
    {
        /// <summary>
        /// 识别集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("recognition")]
        public List<MLRecognition> Recognitions { get; set; }
        

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("value")]
        public string Value { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("splitcode")]
        public string SplitCode { get; set; }
    }

    /// <summary>
    /// 识别数据
    /// </summary>
    public partial class MLRecognition
    {

        /// <summary>
        /// 案由识别集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("cause")]
        public List<MLRecognitionCause> Causes { get; set; }

        /// <summary>
        /// 识别数据类型
        /// 1.情形 2.情节
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("type")]
        public int MatchType { get; set; }

        /// <summary>
        /// 通用情形/情节识别正则编号
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("commoncode")]
        public string CommonCode { get; set; }
    }

    /// <summary>
    /// 案由识别
    /// </summary>
    public partial class MLRecognitionCause
    {
        /// <summary>
        ///案由编号
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("value")]
        public string Value { get; set; }

        /// <summary>
        /// 案由识别正则编号
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("mlcode")]
        public string mlcode { get; set; }
    }

}
